package demo.Controller;

import demo.VO.User;
import org.springframework.context.annotation.Bean;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Controller;

@Controller
@Order(7)
public class Users2 {
    @Bean
    public User user1() {
        User user = new User();
        user.setAge(18);
        user.setName("李四");
        user.setId(1);
        System.out.println("2");
        return user;
    }
}
